package com.local.seckill.pojo;

/**
 * 用户秒杀记录实体类
 */

public class SeckillSuccess {
    private Integer secId;
    //秒杀商品id
    private Integer seckillId;
    private Integer userId;

    //秒杀记录状态信息：-1无效，0成功，1已付款，2已发货
    private Integer state;
    private String createTime;

    public Integer getSecId() {
        return secId;
    }

    public void setSecId(Integer secId) {
        this.secId = secId;
    }

    public Integer getSeckillId() {
        return seckillId;
    }

    public void setSeckillId(Integer seckillId) {
        this.seckillId = seckillId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "SeckillSuccess{" +
                "secId=" + secId +
                ", seckillId=" + seckillId +
                ", userId=" + userId +
                ", state=" + state +
                ", createTime='" + createTime + '\'' +
                '}';
    }
}
